package wzt.com.JiaBangMang.netProtocol;

import java.io.Serializable;

@SuppressWarnings("serial")
public class ClientToServerProtocolObject implements Serializable{

	private String protocolHead = "<@WZT.JBM.NET-Head>"; 
	private String protocolTail = "<WZT.JBM.NET-Tail@>";
	private String cmd;
	private Serializable cmdobj;	
	public ClientToServerProtocolObject()
	{
		
	}
	
	public ClientToServerProtocolObject(String cmd,Serializable cmdobj)
	{
		this.setCmd(cmd);
		this.setCmdobj(cmdobj);
	}

	public String getProtocolHead() {
		return this.protocolHead;
	}
	
	public String getProtocolTail()
	{
		return this.protocolTail;
	}

	public Serializable getCmdobj() {
		return this.cmdobj;
	}

	public void setCmdobj(Serializable cmdobj) {
		this.cmdobj = cmdobj;
	}

	public String getCmd() {
		return this.cmd;
	}

	public void setCmd(String cmd) {
		this.cmd = cmd;
	}
}
